<%-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="head.html" />
</head>
<body>
	<div id="head">
		<h1>Verleihservice</h1>
	</div>
	<jsp:include page="menu.htm" />
	<div id="content">
		<h2>
			<c:out value="${title}" />
		</h2>
		<p>
			<c:out value="${message}" />
		</p>
		<form method="post" action="SpeichereVerleih.html">
			<table class="editing">
				<colgroup>
					<col class="attribute" />
					<col class="value" />
				</colgroup>
				<tbody>
					<tr>
						<td>Id:</td>
						<td><input type="hidden" name="id"
							value='<c:out value="${dvd.id}"/>' /> <input type="text"
							name="auto" value='<c:out value="${dvd.id}"/>' size="3" /></td>
					</tr>
					<tr>
						<td>Titel der DVD:</td>
						<td><c:out value="${dvd.titel}" /></td>
					</tr>

										<tr>
						<td>Name des Kunden:</td>
						<td><c:forEach var="i" begin="1" end="1" step="1"
								varStatus="status">
								<select name="kunden">
								<c:forEach items="${kunden}" var="kunden">
									<option value="${kunden.id}">${kunden.vorname}
										${kunden.nachname}</option>
								</c:forEach>
						</select>
						</c:forEach></td>
					</tr>

					<tr>
						<td>Kunde:</td>
						<td><c:forEach var="i" begin="1" end="1" step="1"
								varStatus="status">
								<select name="kunden">
									<c:forEach items="${kunden}" var="kunden">
										<option value="${kunden.id}">${kunden.vorname}
											${kunden.nachname}</option>
									</c:forEach>
								</select>
							</c:forEach></td>
					</tr>

					<tr class="submit">
						<td colspan="2"><input type="submit" value=" Ausleihen " />
						</td>
					</tr>


				</tbody>
			</table>
		</form>
	</div>
</body>
</html>
 --%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="head.html" />
</head>
<body>
	<div id="head" align="center">
		<h1>DVD Verleih</h1>
	</div>
	<jsp:include page="menu.htm" />
	<br><br><br><br>
	<div id="content" align= "center">
		<h2>
			<c:out value="${title}" />
		</h2>
		<p>
			<c:out value="${message}" />
		</p>
		<form method="post" action="SpeichereVerleih.html">
			<p>
				<input type="hidden" name="id" value='<c:out value="${dvd.id}"/>' />
				<input type="hidden" name="dvd" value='<c:out value="${dvd.id}"/>'
					size="50" />
			</p>
			<table class="editing">
				<colgroup>
					<col class="attribute" />
					<col class="value" />
				</colgroup>
				<tbody>

					<tr>
						<td>DVD:</td>
						<td><c:out value="${dvd.titel}" /></td>

					</tr>

					<tr>
						<td>Kunde:</td>
						<td><c:forEach var="i" begin="1" end="1" step="1"
								varStatus="status">
								<select name="kunden">
									<c:forEach items="${kunden}" var="kunden">
										<option value="${kunden.id}">${kunden.vorname } ${kunden.nachname}</option>

									</c:forEach>
								</select>
							</c:forEach></td>
					</tr>

					<tr class="submit">
						<td colspan="2"><input type="submit"
							value=" Änderungen übernehmen " /></td>
					</tr>
				</tbody>
			</table>
		</form>
	</div>
</body>
</html>
